<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" trimDirectiveWhitespaces="true"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<HEAD>
	<LINK rel=stylesheet href="http://webmail.locknlock.com.cn/common/linktextzh-CN.css">
	<script type="text/javascript"
	src="${pageContext.request.contextPath}/apps_res/plugin/tinymce/jquery-3.2.1.js"></script>
</HEAD>

<BODY leftMargin=8 topMargin=8 onload="javascript:reImage()" style="margin: 0 auto; width: 850px;">
	<TABLE cellSpacing=2 cellPadding=2 width="100%" border=0 align=center>
		<TBODY>
			<TR>
				<TD align=center>
					<TABLE id=Table1 cellSpacing=0 cellPadding=0 width=850 border=0>
						<TBODY>
							<TR>
								<TD vAlign=top colSpan=2>
									<TABLE id=Table2 cellSpacing=0 cellPadding=0 width="100%" border=0>
										<TBODY>
											<TR>
												<TD>
													<TABLE id=Table3 cellSpacing=0 cellPadding=0 width="100%" border=0>
														<TBODY>
															<TR>
																<TD style="FONT-SIZE: 18pt" vAlign=bottom align=center>
																	<B>乐扣乐扣中国 (Lock&amp;Lock China)</B>
																</TD>
															</TR>
														</TBODY>
													</TABLE>
													<HR SIZE=2 noShade>
												</TD>
											</TR>
										</TBODY>
									</TABLE>
								</TD>
							</TR>
						</TBODY>
					</TABLE>
					<TABLE id=Table4 cellSpacing=0 cellPadding=0 width=850 border=0>
						<TBODY>
							<TR>
								<TD height="100%" vAlign=top width=300>
									<TABLE borderColor=#000000 height="100%" cellSpacing=1 cellPadding=1 rules=all width=100% bgColor=#000000 border=0>
										<TBODY>
											<TR id=tr_doc_num>
												<TD bgColor=#eeeeee width=70 align=center>文件号码</TD>
												<TD bgColor=#ffffff width=155>${rMap.FILENO}</TD>
											</TR>
											<TR>
												<TD bgColor=#eeeeee width=70 align=center>编辑日期</TD>
												<TD bgColor=#ffffff width=155>${rMap.CRATE_DATA} </TD>
											</TR>
											<TR>
												<TD bgColor=#eeeeee width=70 height=86 align=center>编辑部门</TD>
												<TD bgColor=#ffffff width=155>${rMap.DEPT}</TD>
											</TR>
											<TR>
												<TD bgColor=#eeeeee width=70 align=center>编 辑 人</TD>
												<TD bgColor=#ffffff width=155>
													<A href="javascript:user_info('2345')">${rMap.SPNAMES.get(0).spName}&nbsp;${rMap.SPNAMES.get(0).spPost}</A>
												</TD>
											</TR>
											<TR>
												<TD bgColor=#eeeeee width=70 align=center>保存期限</TD>
												<TD bgColor=#ffffff width=155>永久 </TD>
											</TR>
											<TR>
												<TD bgColor=#eeeeee width=70 height=36 align=center>保安等级</TD>
												<TD bgColor=#ffffff width=155>
													<IMG alt=5等级(低) src="http://webmail.locknlock.com.cn/image/grade1.gif">
													<FONT color=red>[流程不公开]</FONT>
												</TD>
											</TR>
											<TR>
												<TD bgColor=#eeeeee width=70 align=center>优先顺序</TD>
												<TD bgColor=#ffffff width=155>普通 </TD>
											</TR>
										</TBODY>
									</TABLE>
								</TD>
								<TD width=12>&nbsp;</TD>
								<TD vAlign=top width=490 align=center>
									<TABLE borderColor=#000000 cellSpacing=1 cellPadding=1 rules=all width=100% bgColor=#000000 border=0>
										<TBODY>
											<TR>
												<TD bgColor=#eeeeee rowSpan=3 width=17 align=center>审
													<BR>
													<BR>批</TD>
												<TD bgColor=#ffffff height=20 width=84 align=center>
													<c:if test="${rMap.SPNAMES.size() >= 1}">
												   		${rMap.SPNAMES.get(0).spName}
														<BR>${rMap.SPNAMES.get(0).spPost}
													</c:if>
												</TD>
												<TD bgColor=#ffffff height=20 width=84 align=center>
												<c:if test="${rMap.SPNAMES.size() >= 2}">
													${rMap.SPNAMES.get(1).spName}
													<BR>${rMap.SPNAMES.get(1).spPost}
													</c:if>
												</TD>
												<TD bgColor=#ffffff height=20 width=84 align=center>
												<c:if test="${rMap.SPNAMES.size() >= 3}">
													${rMap.SPNAMES.get(2).spName}
													<BR>${rMap.SPNAMES.get(2).spPost}
													</c:if>
												</TD>
												<TD bgColor=#ffffff height=20 width=84 align=center>
												<c:if test="${rMap.SPNAMES.size() >= 4}">
													${rMap.SPNAMES.get(3).spName}
													<BR>${rMap.SPNAMES.get(3).spPost}
												</c:if>
												</TD>
											</TR>
											<TR>
												<TD bgColor=#ffffff width=84 align=center>
												   <IMG border=0 src="http://webmail.locknlock.com.cn/image/btn_sign1zh-CN.gif">
												</TD>
												<TD bgColor=#ffffff width=84 align=center>
													<c:if test="${rMap.SPNAMES.size() >= 2}">
												   		<IMG border=0 src="http://webmail.locknlock.com.cn/image/btn_sign1zh-CN.gif">
													</c:if>
													<c:if test="${rMap.SPNAMES.size() < 2}">
												   		<FONT size=6 face="Courier New">
														<EM>/</EM>
														</FONT>
													</c:if>
												</TD>
												<TD bgColor=#ffffff width=84 align=center>
													<c:if test="${rMap.SPNAMES.size() >= 3}">
												   		<IMG border=0 src="http://webmail.locknlock.com.cn/image/btn_sign1zh-CN.gif">
													</c:if>
													<c:if test="${rMap.SPNAMES.size() < 3}">
												   		<FONT size=6 face="Courier New">
														<EM>/</EM>
														</FONT>
													</c:if>
												</TD>
												<TD bgColor=#ffffff width=84 align=center>
													<c:if test="${rMap.SPNAMES.size() >= 4}">
												   		<IMG border=0 src="http://webmail.locknlock.com.cn/image/btn_sign1zh-CN.gif">
													</c:if>
													<c:if test="${rMap.SPNAMES.size() < 4}">
												   		<FONT size=6 face="Courier New">
														<EM>/</EM>
														</FONT>
													</c:if>
												</TD>
											</TR>
											<TR>
												<TD bgColor=#ffffff height=20 width=84 align=center>
												<c:if test="${rMap.SPNAMES.size() >= 1}">
													${rMap.SPNAMES.get(0).spData}
												</c:if>
												</TD>
												<TD bgColor=#ffffff height=20 width=84 align=center>
												<c:if test="${rMap.SPNAMES.size() >= 2}">
													${rMap.SPNAMES.get(1).spData}
													</c:if>
												</TD>
												<TD bgColor=#ffffff height=20 width=84 align=center>
												<c:if test="${rMap.SPNAMES.size() >= 3}">
													${rMap.SPNAMES.get(2).spData}
													</c:if>
												</TD>
												<TD bgColor=#ffffff height=20 width=84 align=center>
												<c:if test="${rMap.SPNAMES.size() >= 4}">
													${rMap.SPNAMES.get(3).spData}
													</c:if>
												</TD>
											</TR>
										</TBODY>
									</TABLE>
									<BR>
									<TABLE borderColor=#000000 cellSpacing=1 cellPadding=1 rules=all width=100% bgColor=#000000 border=0>
										<TBODY>
											<TR>
												<TD bgColor=#eeeeee rowSpan=3 width=17 align=center>协
													<BR>
													<BR>议</TD>
												<TD bgColor=#ffffff height=20 width=84 align=center>&nbsp; </TD>
												<TD bgColor=#ffffff height=20 width=84 align=center>&nbsp; </TD>
												<TD bgColor=#ffffff height=20 width=84 align=center>&nbsp; </TD>
												<TD bgColor=#ffffff height=20 width=84 align=center>&nbsp; </TD>
											</TR>
											<TR>
												<TD bgColor=#ffffff width=84 align=center>
													<FONT size=6 face="Courier New">
														<EM>/</EM>
													</FONT>
												</TD>
												<TD bgColor=#ffffff width=84 align=center>
													<FONT size=6 face="Courier New">
														<EM>/</EM>
													</FONT>
												</TD>
												<TD bgColor=#ffffff width=84 align=center>
													<FONT size=6 face="Courier New">
														<EM>/</EM>
													</FONT>
												</TD>
												<TD bgColor=#ffffff width=84 align=center>
													<FONT size=6 face="Courier New">
														<EM>/</EM>
													</FONT>
												</TD>
											</TR>
											<TR>
												<TD bgColor=#ffffff height=20 width=84 align=center>&nbsp; </TD>
												<TD bgColor=#ffffff height=20 width=84 align=center>&nbsp; </TD>
												<TD bgColor=#ffffff height=20 width=84 align=center>&nbsp; </TD>
												<TD bgColor=#ffffff height=20 width=84 align=center>&nbsp; </TD>
											</TR>
										</TBODY>
									</TABLE>
								</TD>
							</TR>
							<TR id=tr_doc_attach>
								<TD colSpan=3>
									<BR>
									<TABLE borderColor=#000000 cellSpacing=1 cellPadding=1 rules=all width=100% bgColor=#000000 border=0 style="margin-top: -8px;">
										<TBODY>
											<TR height=25>
												<TD bgColor=#eeeeee width=70 align=center>附　　件</TD>
												<TD bgColor=#ffffff>
												<c:forEach items="${rMap.FIELNAMES }"  var="item">
													<A href='http://uc.locknlock.com.cn:8082/GWare/Approval/${rMap.CASENO}/${item}'>${item}</A>
													<BR>
												</c:forEach>
												</TD>
											</TR>
										</TBODY>
									</TABLE>
								</TD>
							</TR>
							<TR>
								<TD colSpan=3>
									<BR>
									<TABLE borderColor=#000000 cellSpacing=1 cellPadding=1 rules=all width=100% bgColor=#000000 border=0 style="margin-top: -8px;">
										<TBODY>
											<TR height=25>
												<TD bgColor=#eeeeee height=23 width=70 align=center>题　　目</TD>
												<TD bgColor=#ffffff>${rMap.TITLE}</TD>
											</TR>
										</TBODY>
									</TABLE>
								</TD>
							</TR>
						</TBODY>
					</TABLE>
					<BR>
					<META name=Generator content="Boratech BWordAx Unicode 2.0">

					<P class="case_content" style="MARGIN-BOTTOM: -8px; MARGIN-TOP: 0px;max-width: 850px;" align=center>
						<TABLE style="BORDER-TOP: medium none; BORDER-RIGHT: medium none; BORDER-COLLAPSE: collapse; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none" height=1795 cellSpacing=0 cellPadding=0 width=100% border=0>
							${rMap.CONTENT}
						</TABLE>
					</P>
					<BR>
					<TABLE id=Table4 cellSpacing=0 cellPadding=0 width=850 border=0 align=center>
						<TBODY>
							<TR id=[tr_doc_refer]>
								<TD colSpan=3>
									<TABLE borderColor=#000000 cellSpacing=1 cellPadding=1 rules=all width=100% bgColor=#000000 border=0 style="margin-top: -8px;margin-left: 4px;">
										<TBODY>
											<TR height=25>
												<TD bgColor=#eeeeee width=70 align=center>参照文件</TD>
												<TD bgColor=#ffffff>
													<A href='${pageContext.request.contextPath}/editOpinion.do?method=getOldDataByFielNo&fielNo=${rMap.NEWFIELNO}'>${rMap.NEWFIELNO}</A>
												</TD>
											</TR>
										</TBODY>
									</TABLE>
									<BR>
								</TD>
							</TR>
						</TBODY>
					</TABLE>
				</TD>
			</TR>
		</TBODY>
	</TABLE>

	<TABLE style="BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid; BORDER-COLLAPSE: collapse; BORDER-BOTTOM: #000000 1px solid; WORD-BREAK: break-all; BORDER-LEFT: #000000 1px solid;margin-top: -5px;margin-left: 4px;" borderColor=#000000 cellSpacing=0 cellPadding=1 rules=all width=850 border=1 align=center>
		<TBODY>
				<c:if test="${rMap.yjList.size() == 0}">
				<TR height=22>
				   	<TD bgColor=white width="30%" align=center></TD>
					<TD bgColor=white width="70%" align=left></TD>
				</TR>
				</c:if>
				<c:forEach items="${rMap.yjList }"  var="item">
				<TR height=22>
					    <TD bgColor=white width="30%" align=center>${item.NAMES }
					   		<br>
					   		${item.CRATE_DATA}
					    </TD>
						<TD bgColor=white width="70%" align=left>${item.CONTENT }</TD>
						</TR>
				</c:forEach>
		</TBODY>
	</TABLE>
</BODY>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/apps_res/plugin/tinymce/jquery-3.2.1.js"></script>
<script type="text/javascript">
	function reImage(){
		$('.case_content table').attr({'width':'100%'});
		var _imgs = document.getElementsByClassName('case_content')[0].getElementsByTagName('img');
		for (var i =0;i<_imgs.length;i++) {
			var _src = _imgs[i].src;
			var _name = _src.substr(_src.lastIndexOf('/'),_src.length);
			_imgs[i].src = 'http://uc.locknlock.com.cn:8082/GWare/Approval/${rMap.CASENO}/'+_name;
			console.log("name:"+_src.substr(_src.lastIndexOf('/')+1,_src.length))
			console.log(_imgs[i].src)
		}
	}
</script>